package sjtu.rfid.rri.services.ale.reading;

import java.io.Serializable;

public class ECFieldSpec implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8714454339523429163L;

	private String fieldname;

	private String datatype;

	private String format;

	public String getFieldname() {
		return fieldname;
	}

	public void setFieldname(String fieldname) {
		this.fieldname = fieldname;
	}

	public String getDatatype() {
		return datatype;
	}

	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public void check() {
		// TODO check whether ECFieldSpec is valid according to section 6.1,
		// 6.1.9.1, 6.1.9.2, 6.1.9.3. If invalid, throw
		// CCSpecValidationException
	}

}
